import IDictInsertOrUpdateForm from '@/model/form/dict/IDictInsertOrUpdateForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 新增/修改 字典
export default function dictInsertOrUpdateApi(form: IDictInsertOrUpdateForm) {
  return $http.post<IResVO, AxiosResponse<IResVO>, IDictInsertOrUpdateForm>(
    '/dict/insertOrUpdate',
    form
  )
}
